package com.ugoodtech.mdcc.core.domain;


import io.swagger.annotations.ApiModel;

import javax.persistence.*;

@Entity
@ApiModel("管理员设置的时间，用于定时判断接受之后没有处理的报告")
@Table(name = "auto_message_time")
public class AutoMessageTime extends BaseEntity {

    private Long dayNum;

    private User user;

    @Column(name = "day_num")
    public Long getDayNum() {
        return dayNum;
    }

    public void setDayNum(Long dayNum) {
        this.dayNum = dayNum;
    }

    @ManyToOne
    @JoinColumn(name = "user_id")
    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
